package com.zzy.banian.crm.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 客户表 crm_customer
 * 
 * @author zhangzuoyi
 * @date 2019-05-02
 */
public class Customer extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private Integer id;
	/** 名称 */
	private String name;
	/** 负责人 */
	private String manager;
	/** 客户状态 */
	private Integer status;
	/** 客户类型 */
	private Integer type;
	/** 客户级别 */
	private Integer level;
	/** 客户来源 */
	private Integer source;
	/** 所属行业 */
	private Integer industryId;
	/** 所属地区 */
	private String areaCode;
	/** 省 */
	private String provinceCode;
	/** 市 */
	private String cityCode;
	/** 区县 */
	private String countyCode;
	/** 联系电话 */
	private String phone;
	/** 网站 */
	private String website;
	/** 联系地址 */
	private String addr;

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setName(String name) 
	{
		this.name = name;
	}

	public String getName() 
	{
		return name;
	}
	public void setManager(String manager) 
	{
		this.manager = manager;
	}

	public String getManager() 
	{
		return manager;
	}
	public void setStatus(Integer status) 
	{
		this.status = status;
	}

	public Integer getStatus() 
	{
		return status;
	}
	public void setType(Integer type) 
	{
		this.type = type;
	}

	public Integer getType() 
	{
		return type;
	}
	public void setLevel(Integer level) 
	{
		this.level = level;
	}

	public Integer getLevel() 
	{
		return level;
	}
	public void setSource(Integer source) 
	{
		this.source = source;
	}

	public Integer getSource() 
	{
		return source;
	}
	public void setIndustryId(Integer industryId) 
	{
		this.industryId = industryId;
	}

	public Integer getIndustryId() 
	{
		return industryId;
	}
	public void setAreaCode(String areaCode) 
	{
		this.areaCode = areaCode;
	}

	public String getAreaCode() 
	{
		return areaCode;
	}
	public void setProvinceCode(String provinceCode) 
	{
		this.provinceCode = provinceCode;
	}

	public String getProvinceCode() 
	{
		return provinceCode;
	}
	public void setCityCode(String cityCode) 
	{
		this.cityCode = cityCode;
	}

	public String getCityCode() 
	{
		return cityCode;
	}
	public void setCountyCode(String countyCode) 
	{
		this.countyCode = countyCode;
	}

	public String getCountyCode() 
	{
		return countyCode;
	}
	public void setPhone(String phone) 
	{
		this.phone = phone;
	}

	public String getPhone() 
	{
		return phone;
	}
	public void setWebsite(String website) 
	{
		this.website = website;
	}

	public String getWebsite() 
	{
		return website;
	}
	public void setAddr(String addr) 
	{
		this.addr = addr;
	}

	public String getAddr() 
	{
		return addr;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("manager", getManager())
            .append("status", getStatus())
            .append("type", getType())
            .append("level", getLevel())
            .append("source", getSource())
            .append("industryId", getIndustryId())
            .append("areaCode", getAreaCode())
            .append("provinceCode", getProvinceCode())
            .append("cityCode", getCityCode())
            .append("countyCode", getCountyCode())
            .append("phone", getPhone())
            .append("website", getWebsite())
            .append("addr", getAddr())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
